package com.demo.server1;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Created by hunter
 *
 * @Description 微服务1 starter
 */
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = "com.demo")
@EnableFeignClients(basePackages = "com.demo")
public class Server1Starter {
    public static void main(String[] args) {
        new SpringApplicationBuilder(Server1Starter.class).web(true).run(args);
    }
}
